﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Web.SystemConfig.Services
{
    public interface IProfile
    {
        DataTable SelectUserInfo(string UserID);
        DataTable SelectRolesByUserID(string UserID);

        DataSet SelectUserAuthoritiesAndModulesAll(string userID);

        DataSet GetRootDS(string ParentModuleID);

        DataSet GetAuthority(string userID, string Menu_ID);

        DataSet GetChild(string parentMenu_ID);

        bool IsLeafMenu(string menuID);
    }
}
